//
//  String+XWExtension.swift
//  XWNetworking
//
//  Created by Miles on 2023/10/12.
//

import Foundation

public extension String {
    // MARK: 字符串转 Double
    func toDouble() -> Double{
        let result:Double = Double(self) ?? 0
        return result
    }
}
